/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package instantmessengercpsc360.server;

import java.util.EventObject;

/**
 *
 * @author nicholas
 */
public class SendMessageEvent extends EventObject {

    public SendMessageEvent(ClientWrapper source, String msg) {
        super(source);
        message = msg;
    }

    @Override
    public ClientWrapper getSource() {
        return (ClientWrapper)source;
    }
    
    protected String message;
    
    public String getMessage()
    {
        return message;
    }
}
